package com.ruoyi.system.domain.manager;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * nacos服务器的配置对象 dev_nacos
 * 
 * @author ruoyi
 * @date 2024-04-03
 */
public class DevNacos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 服务器ID */
    @Excel(name = "服务器ID")
    private Long serverId;

    /** nacos配置内容 */
    @Excel(name = "nacos配置内容")
    private String nacosContent;

    /** Nacos Data ID */
    @Excel(name = "Nacos Data ID")
    private String dataId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServerId(Long serverId) 
    {
        this.serverId = serverId;
    }

    public Long getServerId() 
    {
        return serverId;
    }
    public void setNacosContent(String nacosContent) 
    {
        this.nacosContent = nacosContent;
    }

    public String getNacosContent() 
    {
        return nacosContent;
    }
    public void setDataId(String dataId) 
    {
        this.dataId = dataId;
    }

    public String getDataId() 
    {
        return dataId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serverId", getServerId())
            .append("nacosContent", getNacosContent())
            .append("dataId", getDataId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
